﻿#define _CRT_SECURE_NO_WARNINGS 1 //安心，加油！


#include"RBTree.h"


int main()
{
	RBTree<int, string> t; 
	int a[] = { 4, 2, 6, 1, 3, 5, 15, 7, 16, 14 };

	for (auto e : a)
	{
		t.Insert({ e,"anxin"});
	}

	t.InOrder();
	
	cout << t.IsBalance() << endl;

	return 0;
}











